package com.onLineCar.management.feign.impl;

import com.onLineCar.common.core.domain.Result;

import com.onLineCar.management.domain.PayRequest;
import com.onLineCar.management.domain.Reconciliation;
import com.onLineCar.management.domain.RequestOrder;
import com.onLineCar.management.feign.OrderData;



import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletResponse;

/**
 * @author : 段敏强
 * @className : OrderDataFeignClientFallback
 * @description : 描述说明该类的功能
 * @createTime : 2023/12/18 19:28
 */

/**
 * 远程调用订单数据服务熔断类
 * @author  段敏强
 */
@Component
public class OrderDataFeignClientFallback implements OrderData {
    /**
     * 订单下单
     * @param tblOrder
     * @return
     */
    @Override
    public Result<?> placeAnOrder(RequestOrder tblOrder) {
        return Result.error();
    }

    /**
     * 查询订单号
     * @param tblOrder
     * @return
     */
    @Override
    public Result<RequestOrder> selectOrderNumber(RequestOrder tblOrder) {
        return Result.error();
    }

    @Override
    public Result<RequestOrder> carryOut(Integer passengerInfoId) {
        return Result.error();
    }


    @Override
    public String createAnOrderNumber() {
        return null;
    }

    @Override
    public Result updateUserReach(String orderNumber) {
        return Result.error();
    }

    @Override
    public Result cancelOrder(Reconciliation reconciliation) {
        return Result.error();
    }

}
